package com.itheima.restkeeper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.restkeeper.req.ApicertVo;

/**
 * @ClassName ApicertFace.java
 * @Description 证书dubbo服务定义
 */
public interface ApicertFace {

    /**
     * @Description 证书列表
     * @param apicertVo 查询条件
     * @param pageNum 页码
     * @param pageSize 每页条数
     * @return Page<ApicertVo>
     */
    Page<ApicertVo> findApicertVoPage(ApicertVo apicertVo, int pageNum, int pageSize);

    /**
     * @Description 创建证书
     * @param apicertVo 对象信息
     * @return ApicertVo
     */
    ApicertVo createApicert(ApicertVo apicertVo);

    /**
     * @Description 修改证书
     * @param apicertVo 对象信息
     * @return Boolean
     */
    Boolean updateApicert(ApicertVo apicertVo);

    /**
     * @Description 删除证书
     * @param checkedIds 选择中对象Ids
     * @return Boolean
     */
    Boolean deleteApicert(String[] checkedIds);

    /**
     * @Description 查找证书
     * @param brandId 选择对象信息Id
     * @return ApicertVo
     */
    ApicertVo findApicertByApicertId(Long brandId);


}
